package org.gwt.grin.rebind;

import java.io.IOException;

/**
 * This interface represents a reference to another feature that might not be
 * known yet. It can be used within a DeferredBuilder or any other construct
 * that defers resolution of a feature; when DeferredBuilder.finishBuilding() is
 * called, the builder can call getFeature to resolve to an actual feature.
 */
public interface FeatureRef {

    /**
     * Resolve this FeatureRef to an actual feature
     *
     * @throws IOException	if there's an error resolving it
     **/
    public SEFeature getFeature() throws IOException;
}